<?php
/**
 * Desc: 数据库接口
 * Auth: Shaoming Lu<lushao1012@163.com>
 * Date: 2018/4/11
 * Time: 13:35
 */
namespace echophp\core\face;

interface DbInterface
{
    public function connect();

    public function table($table);

    public function execute($sql);

    public function get();

    public function first();

    public function field($field = '*');

    public function where($where);

    public function alias($alias);

    public function order($order);

    public function group($group);

    public function join($join);

    public function max($column);

    public function min($column);

    public function avg($column);

    public function count($column);

    public function sum($column);

    public function close_connect();


}